package com.lbmb.mdps.settings.service;

import com.lbmb.mdps.commons.exception.AdministratorException;
import com.lbmb.mdps.settings.domain.Administrator;

/**
 * @author 林文塨
 * @date 2022-05-30 2:32
 * description
 */
public interface AdministratorService {

    Administrator login(Administrator administrator) throws AdministratorException;

    Administrator getAdministratorById(Long currentUserId) throws AdministratorException;

    Boolean getPrivilege(Long currentUserId);
}
